package com.xlh.virtualization.vo;

import io.swagger.annotations.ApiModel;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author cheer
 */
@ApiModel("实训容器属性信息")
@Data
@EqualsAndHashCode(callSuper = true)
public class ContainerTrainingVO extends ContainerVO {

    /**
     * 环境实训名称
     */
    private String trainingName;

    @Builder(builderMethodName = "trainingBuilder")
    public ContainerTrainingVO(Long containerId, String username, String userNumber, String containerName,
                               String imageName, String ip, Integer status, String trainingName) {
        super(containerId, username, userNumber, containerName, imageName, ip, status);
        this.trainingName = trainingName;
    }
}
